package jatosoft.accounting.dao;

import java.util.Date;
import java.util.List;

import jatosoft.accounting.dao.model.Account;
import jatosoft.accounting.dao.model.Voucher;

public interface VoucherDao {
	Integer insert(Voucher v);
	public List<Voucher> queryByDateDuration(Date fromDate,Date toDate);
	void deleteVoucher(Voucher voucher);
	List sumAmountByAccount(Date fromDate,Date toDate);
	Voucher getVoucher(Integer voucherId);
	Double sumByAccount(Account account, int year, int month);
}
